package util;

import java.util.List;
import java.util.Map;

public class Empty {
    public static Boolean isEmpty(String s) {
        return "".equals(s)||null ==s;
    }
    public static Boolean isEmpty(List list) {
        return null == list || list.size() == 0;
    }
    public static Boolean isEmpty(Map map) {
        return map.isEmpty();
    }
    public static Boolean isEmpty(Number number) {
        return null == number;
    }
    public static Boolean isEmpty(Object o) {
        return null == o;
    }

}
